package dao.impl;

import dao.UserDao;
import pojo.User;
import utils.MyBatisUtil;

import java.io.IOException;
import java.util.List;

public class UserDaoImpl implements UserDao {
    @Override
   public List<User> findAll() {
            return MyBatisUtil.getSession().getMapper(UserDao.class).findAll();

    }
}